/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package p2a;

/**
 *
 * @author user
 */
import javax.swing.*;
import java.awt.*;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2012</p>
 * <p>Company: </p>
 * @author not attributable
 * @version 1.0
 */

public class ConsoleFrame extends JFrame {
  JPanel main_panel = new JPanel();
  BorderLayout borderLayout1 = new BorderLayout();
  JToolBar tool_bar = new JToolBar();
  JButton toolbar_b1 = new JButton();
  JTextArea console = new JTextArea();

  public ConsoleFrame() {
    try {
      init();
    }
    catch(Exception e) {
      e.printStackTrace();
    }
  }
  private void init() throws Exception {
    main_panel.setLayout(borderLayout1);
    toolbar_b1.setText("1");
    console.setText("");
    this.getContentPane().add(main_panel, BorderLayout.CENTER);
    main_panel.add(console, BorderLayout.CENTER);
    this.getContentPane().add(tool_bar, BorderLayout.NORTH);
    tool_bar.add(toolbar_b1, null);
    setSize(400,400);
  }
}
